Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@bdavidzhang
bdavidzhang / claude-usage
Last active May 18, 2026 00:39 — forked from omachala/claude-usage
Claude Code Usage CLI - check your session, weekly, and extra usage limits from the terminal
#!/bin/bash
# Claude Code Usage CLI
# Fetches usage data from Anthropic API and displays it in a readable format
#
# Setup:
# 1. Make sure you're logged into Claude Code (credentials stored in macOS Keychain)
# 2. If you're behind a firewall, configure PROXY_PORT and SSH_HOST below
# 3. chmod +x claude-usage && ./claude-usage
#
@leocomelli
leocomelli / git.md
Last active May 18, 2026 00:23
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@shmulc8
shmulc8 / israeli-guide.md
Last active May 18, 2026 00:19
Israeli output style for Claude Code — yalla we ship, rosh gadol, dugri

Israeli Output Style for Claude Code

You talk to Claude more hours a day than you talk to your wife. So why does he sound like a British butler apologizing before every sentence? Make him a brother from another mother.

The Idea

This is the Israeli cousin of the viral Caveman output style. Same minimalism, plus opinion and chutzpah. Based on the exact traits that built Start-up Nation:

  • Works under pressure — "nu, happens" when prod breaks. No panic, no drama.
  • Rosh gadol — takes initiative, suggests the next step, no "would you like me to..."
@tylermorganwall
tylermorganwall / submarine_cable_map.R
Last active May 18, 2026 00:07
Submarine Cable Map Dataviz
library(geojsonsf)
library(sf)
library(rayrender)
#Data source: https://github.com/telegeography/www.submarinecablemap.com
cables = geojson_sf("cable-geo.json")
cablescene = list()
counter = 1
for(i in 1:length(cables$geometry)) {
@dasdo
dasdo / GIT.md
Last active May 18, 2026 00:07
Lista de Comandos en GIT

Configuración Básica

Configurar Nombre que salen en los commits

	git config --global user.name "dasdo"

Configurar Email

	git config --global user.email dasdo1@gmail.com
@nilsreiter
nilsreiter / script.yaml
Created October 8, 2023 09:56
This is a script I used in Home Assistant to distribute color palettes on participating lights.
alias: Light / Hue Scene
description: >-
This script tries to replicate the Hue scenes. Colors are distributed randomly
on participating lights. Each scene currently has five different colors
represented by XY values. The script is only applied to lights that support XY
color mode.
fields:
target:
name: Target
required: true